package cn.lbd.api.lambda;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
public class Employee {
    private Integer age;
    private String name;
    private Double salary;
    private Status Status;

    public enum Status{
        FREE,
        BUSY,
        VOCATION;
    }

    public Employee() {
    }

    public Employee(Integer age) {
        this.age = age;
    }

    public Employee(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

    public Employee(Integer age, String name, Double salary) {
        this.age = age;
        this.name = name;
        this.salary = salary;
    }

    public Employee(Integer age, String name, Double salary, Employee.Status status) {
        this.age = age;
        this.name = name;
        this.salary = salary;
        Status = status;
    }
}
